package com.ds.lens.data.vo.in.v2.monitor;

import com.ds.lens.data.common.constant.ChannelEnum;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author WeiShaoying
 * @date 2019/11/14 上午11:51
 */
@Setter
@Getter
public class LensMonitorChannelInVO {
    @NotNull(message = "监控id不能为空")
    private Long monitorId;

    @NotNull(message = "监控版本不能为空")
    private Integer version;

    @NotEmpty(message = "目标不能为空")
    private String target;

    @NotNull(message = "通道类型不能为空")
    private ChannelEnum type;

    @NotEmpty(message = "ticket不能为空")
    private String ticket;

    @NotNull(message = "ticket time不能为空")
    private Long ticketTime;
}
